<?php
class interval_count extends db_table {
	/**
	 * Interval count
	 *
	 * @var db_field
	 */
	public $interval_count_id;
	/**
	 * Similar chain id
	 *
	 * @var db_field
	 */
	public $chain_id;
	/**
	 * Interval id
	 *
	 * @var db_field
	 */
	public $interval_id;
	/**
	 * Interval type
	 *
	 * @var db_field
	 */
	public $interval_type;
	/**
	 * Count
	 *
	 * @var db_field
	 */
	public $count;


	/**
	 * Constructor
	 *
	 * @param mixed $id
	 */
	public function __construct($id = null) {
		parent::__construct($id);
	}

	public static function both() {
		return "both";
	}
	public static function end() {
		return "end";
	}
	public static function start() {
		return "start";
	}
}
?>